package com.chinairi.mall.model;

import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.chinairi.common.model.BaseModel;
import com.baomidou.mybatisplus.annotation.TableField;

/**
 * <p>
 * 员工基本信息(如果客户已有人力资源的用户信息表，则使用客户提供的表，不用该表)
 * </p>
 *
 * @author 董志涵
 * @since 2020-08-17
 */
@TableName("SYS_USER")
public class SysUser extends BaseModel {

    private static final long serialVersionUID = 1L;

    /**
     * 员工标识(uuid)
     */
    @TableId("USER_ID")
    private String userId;

    /**
     * 上级ID
     */
    @TableField("USER_PARENT_ID")
    private String userParentId;

    /**
     * 员工编号(公司编制)
     */
    @TableField("USER_EMP_NO")
    private String userEmpNo;

    /**
     * 绑定的手机号码
     */
    @TableField("USER_MOBILE")
    private String userMobile;

    /**
     * 身份证号
     */
    @TableField("USER_ID_CARD")
    private String userIdCard;

    /**
     * 真实姓名(用户的真实姓名，与用户身份证上的姓名保持一致)
     */
    @TableField("USER_REAL_NM")
    private String userRealNm;

    /**
     * 出生日期(用户的公历出生日期)
     */
    @TableField("USER_BIRTH_DATE")
    private Date userBirthDate;

    /**
     * 性别(0未说明;1男;2女;9无法识别)
     */
    @TableField("USER_SEX")
    private String userSex;

    /**
     * 用户状态（1：在职 2：离职 3：退休）
     */
    @TableField("USER_STATUS")
    private String userStatus;

    /**
     * 创建人
     */
    @TableField("CREATE_USER")
    private String createUser;

    /**
     * 创建时间
     */
    @TableField("CREATE_TIME")
    private Date createTime;

    /**
     * 修改人
     */
    @TableField("UPDATE_USER")
    private String updateUser;

    /**
     * 修改时间
     */
    @TableField("UPDATE_TIME")
    private Date updateTime;

    /**
     * 审核人
     */
    @TableField("APPROVE_USER")
    private String approveUser;

    /**
     * 审核时间
     */
    @TableField("APPROVE_TIME")
    private Date approveTime;

    /**
     * 审核状态
     */
    @TableField("APPROVE_STATUS")
    private String approveStatus;

    /**
     * 机构代码
     */
    @TableField("ORG_CODE")
    private String orgCode;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
    public String getUserParentId() {
        return userParentId;
    }

    public void setUserParentId(String userParentId) {
        this.userParentId = userParentId;
    }
    public String getUserEmpNo() {
        return userEmpNo;
    }

    public void setUserEmpNo(String userEmpNo) {
        this.userEmpNo = userEmpNo;
    }
    public String getUserMobile() {
        return userMobile;
    }

    public void setUserMobile(String userMobile) {
        this.userMobile = userMobile;
    }
    public String getUserIdCard() {
        return userIdCard;
    }

    public void setUserIdCard(String userIdCard) {
        this.userIdCard = userIdCard;
    }
    public String getUserRealNm() {
        return userRealNm;
    }

    public void setUserRealNm(String userRealNm) {
        this.userRealNm = userRealNm;
    }
    public Date getUserBirthDate() {
        return userBirthDate;
    }

    public void setUserBirthDate(Date userBirthDate) {
        this.userBirthDate = userBirthDate;
    }
    public String getUserSex() {
        return userSex;
    }

    public void setUserSex(String userSex) {
        this.userSex = userSex;
    }
    public String getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(String userStatus) {
        this.userStatus = userStatus;
    }
    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    public String getApproveUser() {
        return approveUser;
    }

    public void setApproveUser(String approveUser) {
        this.approveUser = approveUser;
    }
    public Date getApproveTime() {
        return approveTime;
    }

    public void setApproveTime(Date approveTime) {
        this.approveTime = approveTime;
    }
    public String getApproveStatus() {
        return approveStatus;
    }

    public void setApproveStatus(String approveStatus) {
        this.approveStatus = approveStatus;
    }
    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    @Override
    public String toString() {
        return "SysUser{" +
            "userId=" + userId +
            ", userParentId=" + userParentId +
            ", userEmpNo=" + userEmpNo +
            ", userMobile=" + userMobile +
            ", userIdCard=" + userIdCard +
            ", userRealNm=" + userRealNm +
            ", userBirthDate=" + userBirthDate +
            ", userSex=" + userSex +
            ", userStatus=" + userStatus +
            ", createUser=" + createUser +
            ", createTime=" + createTime +
            ", updateUser=" + updateUser +
            ", updateTime=" + updateTime +
            ", approveUser=" + approveUser +
            ", approveTime=" + approveTime +
            ", approveStatus=" + approveStatus +
            ", orgCode=" + orgCode +
        "}";
    }
}
